#ifndef _DaterGroupEvent_h_
#define _DaterGroupEvent_h_

#include "DaterEvent.h"

#include <string>

namespace Dater
{
	/*!
	\brief
		An entity class contains 21 year calendars front and back.
	*/
	class GroupEvent : public Event
	{
	public:
		static const std::string EventTypeName;
		
		/*!
		\brief
			Constructor for GroupEvent class
		*/
		GroupEvent(const std::string& type, const std::string& name, const Time& startTime, const Time& finishTime, 
		const std::string& description, unsigned int userID, unsigned int eventID);

		/*!
		\brief
			Constructor for GroupEvent class
		*/
		virtual ~GroupEvent(void);

		/*!
		\brief
			a function to get the group id.
		*/
		int getGroupID();

		/*!
		\brief
			a function to get the group event id.
		*/
		int getGroupEventID();

		/*!
		\brief
			a function to set the new group's id.
		*/
		void setGroupID(int groupID);

		/*!
		\brief
			a function to set the group event's id.
		*/
		void setGroupEventID(int groupEventID);

	private:
		int _groupID;
		int _groupEventID;
	};
}


#endif